package cn.rc.rcsystem.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-09
 */
@TableName("used_car_grounding")
public class UsedCarGrounding extends Model<UsedCarGrounding> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("shop_id")
    private Long shopId;
    @TableField("employee_id")
    private Long employeeId;
    private String vin;
    @TableField("car_number")
    private String carNumber;
    @TableField("driving_mileage")
    private Integer drivingMileage;
    @TableField("vehicle_status")
    private String vehicleStatus;
    private Date createtime;
    private String remarks;
    private String brand;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public Integer getDrivingMileage() {
        return drivingMileage;
    }

    public void setDrivingMileage(Integer drivingMileage) {
        this.drivingMileage = drivingMileage;
    }

    public String getVehicleStatus() {
        return vehicleStatus;
    }

    public void setVehicleStatus(String vehicleStatus) {
        this.vehicleStatus = vehicleStatus;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "UsedCarGrounding{" +
        ", id=" + id +
        ", shopId=" + shopId +
        ", employeeId=" + employeeId +
        ", vin=" + vin +
        ", carNumber=" + carNumber +
        ", drivingMileage=" + drivingMileage +
        ", vehicleStatus=" + vehicleStatus +
        ", createtime=" + createtime +
        ", remarks=" + remarks +
        ", brand=" + brand +
        "}";
    }
}
